import React, { useState, useEffect } from 'react'
import url from '../assets/dog.gif'
import move from '../move'
export default function TT() {
  const { x, y } = move()

  return (
    <div>
      <img src={url} alt="" style={{ position: 'absolute', left: x, top: y }} />
    </div>
  )
}
